home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000430_robertls@nortelnetworks.com_Tue Nov 2 14:36:29 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
4KB
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!router3.news.adelphia.net!feed.100proofnews.com.MISMATCH!in.100proofnews.com!in.100proofnews.com!snoopy.risq.qc.ca!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How to compile kermit w/o buffers???
Date: Tue, 2 Nov 2004 13:01:49 -0600
Organization: Nortel
Lines: 142
Message-ID: <cm8lit$n11$1@zcars0v6.ca.nortel.com>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars0v6.ca.nortel.com 1099422110 23585 47.102.125.229 (2 Nov 2004 19:01:50 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Tue, 2 Nov 2004 19:01:50 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15214
Frank,
I got side tracked with other tasks and failed to copy the information you
sent on how to recompile the kermit with no buffers. Now the thread is no
longer available. Can you please reply to me with your last correspondence
to the thread below?
Thanks in advance,
Robert
"Robert Simmons" <robertls@nortelnetworks.com> wrote in message news:...
> I tried the fork with the stdout and stdin unbuffered. But this had
> no effect. Probably because as you wrote the echos and help text
> output is buffered internally in kermit. Is there any way to flush
> the buffer for echo and help text? Or set it so that these are not
> buffered?
>
> Thanks for the advise on the script. I'll use it. The book I have is
> outdated. I'll use the website for more up to date info.
>
> As for the looping send: We are sending the same file as a soak test
> of the connection so we don't care about the content, just that the
> connection stays up and the transfers complete.
>
> Thanks,
> Robert
>
>
> "Frank da Cruz" <fdc@columbia.edu> wrote in message
> news:slrncnddme.qmr.fdc@sesame.cc.columbia.edu...
> > On 2004-10-20, Robert Simmons <robertls@nortelnetworks.com> wrote:
> > : I am not piping the output of two processes to one file. I tried
> > the
> piping
> > : of the output of only the kermit script to help debug the weird
> behaviour I
> > : was seeing in the output during the fork of the script from the
> > C++
> process.
> > :
> > : As you can see below the line "Hello and welcome to
> csd_send_script.ksc!"
> > : should be output well before "NO CARRIER" since it takes about 15
> seconds
> > : for NO CARRIER to be determined.
> > :
> > It's what I said: ECHO is buffered, whereas SET DIAL DISPLAY ON
> > output is not. By the way, Kermit has had FOR (and WHILE) loops for
> > many years, so you don't need the old SET COUNT / IF COUNT trick any
> > more:
> >
> > : set count \%5
> > ::loop
> > : echo Sending File. Transfer Count: \v(count)\10
> > : send \%6
> > : if success echo Send File #\v(count) complete\10
> > : if fail echo Failed Sending File #\v(count)
> > : if count goto loop
> >
> > Why are you sending the same file repeatedly? Something like this
> > looks more sensible:
> >
> > set flag off
> > for \%i 1 \%5 1 {
> > send \%6
> > if success break
> > echo "\%6: Failed - Try #\%i..."
> > }
> > if != \v(xferstatus) { ... } # 0 means success
> >
> > - Frank
>
>